package cn.itcast.erp.service;

import cn.itcast.erp.entity.Emp;
import cn.itcast.erp.entity.Returnorderdetail;
import cn.itcast.erp.entity.Returnorders;
import cn.itcast.erp.entity.utils.AjaxResult;

/**
 * 采购退货Service接口
 *
 * @author 崔凯铭, 罗宇航
 * @date 2019/6/12
 */

public interface OrdersReturnService {
    //查找订单
    AjaxResult findOrders(Returnorders returnorders);

    //增加订单
    int insertOrders(Returnorders returnorders,Emp emp);

    //查询订单
    Returnorders findOrderByUuid(Returnorders returnorders);

    //采购退货审核订单
    int checkOrder(Returnorders returnorders, Emp emp);

    //销售退货审核订单
    int startOrder(Returnorders returnorders, Emp emp);

    //订单详情入库
    AjaxResult inStore(Returnorderdetail returnorderdetail, Emp emp);

    //订单详情出库
    AjaxResult outStore(Returnorderdetail returnorderdetail, Emp emp);
}
